<?php

namespace Action;

class User extends \Lib\Action {
	public function feedbacktype() {
		return array (
				'item' => $this->getFeedbackType () 
		);
	}
	public function feedback() {
		if ($this->addFeedback ( $_POST )) {
			return true;
		} else {
			$this->o->aError = array (
					'code' => '1',
					'message' => '提交失败' 
			);
			return false;
		}
	}
}